<div class="body">
	<table class="form">
		<tr>
			<th colspan="2"><?php echo $this->language('SPECIAL RULE');?>:</th>
		</tr>
		<tr>
			<td width="180"><label><?php echo $this->language('Page List');?></label></td>
			<td>
				<?php echo $this->form()->textarea('rule[special][exp_page]', $this->rule->getExpPage(), array('cols' => '80', 'rows' => '4'));?>
				<code><?php echo $this->language('Regular Expression of Page List');?>.</code>
			</td>
		</tr>
		<tr>
			<td><label><?php echo $this->language('Page List Matched List');?></label></td>
			<td>
				<?php echo $this->form()->textarea('rule[special][exp_pagelist]', $this->rule->getExpPagelist(), array('cols' => '80', 'rows' => '4'));?>
				<code><?php echo $this->language('Regular Expression of Page List');?>.</code>
				<input type="checkbox" name="rule[special][index_as_first]" id="rule-special-index_as_first" value="1"<?php if($this->rule->getIndexAsFirst()) echo ' checked="checked';?>>
				<label for="rule-special-index_as_first" class="for-checkbox"><?php echo $this->language('SET INDEX PAGE AS THE FIRST PAGE');?></label>
			</td>
		</tr>
		<tr>
			<td width="180"><label><?php echo $this->language('Image Area');?></label></td>
			<td>
				<?php echo $this->form()->textarea('rule[special][exp_area]', $this->rule->getExpArea(), array('cols' => '80', 'rows' => '4'));?>
				<code><?php echo $this->language('Regular Expression of Item list Area');?>.</code>
			</td>
		</tr>
		<tr>
			<td><label><?php echo $this->language('Original Image');?></label></td>
			<td>
				<?php echo $this->form()->textarea('rule[special][original_image]', $this->rule->getOriginalImage(), array('cols' => '80', 'rows' => '4'));?>
				<code><?php echo $this->language('Regular Expression of Original Image');?>.</code>
			</td>
		</tr>
		<tr>
			<td><label><?php echo $this->language('Matched Index');?><code>Example: 1</code><code>Numeric Only</code></label></td>
			<td>
				<code><?php echo $this->language('IMAGE');?></code>
				<?php echo $this->form()->text('rule[special][matched_image]', $this->rule->getMatchedImage(), array('size' => '8', 'maxlength' => '2'));?>
				<code><?php echo $this->language('TITLE');?></code>
				<?php echo $this->form()->text('rule[special][matched_title]', $this->rule->getMatchedTitle(), array('size' => '8', 'maxlength' => '2'));?>
				<code><?php echo $this->language('DESCRIPTION');?></code>
				<?php echo $this->form()->text('rule[special][matched_description]', $this->rule->getMatchedDescription(), array('size' => '8', 'maxlength' => '2'));?>
			</td>
		</tr>
		<?php if($this->isNew) { ?>
		<tr>
			<td></td>
			<td>
				<span class="show">
					<input type="checkbox" name="newRule[special]" id="newRule-special" value="1">
					<label for="newRule-special" class="for-checkbox"><strong class="red"><?php echo $this->language('Is it a New Rule');?>?</strong></label>
				</span>
			</td>
		</tr>
		<?php } ?>
	</table>
</div>